package com.ushine.slave.user.model;

import com.baomidou.mybatisplus.annotation.*;
import com.ushine.common.model.BaseDo;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Getter
@Setter
@ToString(callSuper = true)
@TableName("t_user")
public class User extends BaseDo {

    @TableId(value = "id",type = IdType.ASSIGN_ID)
    private String id;

    @TableField("pass_word")
    private String password;

    @TableField("user_name")
    private String username;

    @TableLogic
    @TableField(value = "flag",fill = FieldFill.INSERT)
    private Integer flag;

}
